package com.woniu.utils.execption.useraddress;

import lombok.AllArgsConstructor;


@AllArgsConstructor
public enum UserAddressExceptionCode {
    USER_ADDRESS_EXITS(30001,"你已存在该地址"),
    USER_ADDRESS_NOT_EXITS(30002,"该地址信息不存在"),
    NOT_DELETE_OTHER_ADDRESS(30003,"不能删除别人的地址"),
    NOT_MODIFY_OTHER_ADDRESS(30004,"不能修改别人的地址"),
    ;
    private Integer code;
    private String messages;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessages() {
        return messages;
    }

    public void setMessages(String messages) {
        this.messages = messages;
    }
}
